package com.lening.provider.service.impl.PropertyNotice;

import com.lening.common.base.BaseServiceImpl;
import com.lening.provider.dao.PropertyNotice.NotificationTypesDAO;
import com.lening.provider.dto.PropertyNotice.NotificationTypesDTO;
import com.lening.provider.po.PropertyNotice.NotificationTypesPO;
import com.lening.provider.service.PropertyNotice.NotificationTypesService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 刘政华
 * @datetime 2024/6/5 14:05
 * @description 类对象
 */
@Slf4j
@Service
public class NotificationTypesServiceImpl extends BaseServiceImpl<NotificationTypesDAO, NotificationTypesPO, NotificationTypesDTO> implements NotificationTypesService {

    @Resource
    private NotificationTypesDAO notificationTypesDAO;

    @Override
    public List<NotificationTypesDTO> getByName(String noticeTypeName) {
        return notificationTypesDAO.getByName(noticeTypeName);
    }
}
